package com.project.easy.common.db.mybatisplus.core.dto;

import com.baomidou.mybatisplus.annotation.Version;

/**
 * @author GreatorMan.cool
 * @copyright: Copyright (c) 2020
 * @company: 扬起科技有限公司
 * @date 2021/9/28 22:51
 * @description: 基础数据持久层实体类
 */
public class BaseCommonOptimisticLockBean extends BaseCommonBean {
    /**
     * 数据版本号
     */
    @Version
    private Integer dataVersion = 0;

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }
}
